<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <script src="./js/vue.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/vuex/3.2.0/vuex.min.js"></script>
    <title>Document</title>
  </head>
  <body>
    <div id="app-4">
      <ol>
        <li v-for="todo in todos">{{ todo.text }}</li>
      </ol>
    </div>
  </body>
  <script>
    var app = new Vue({
      el: "#app-4",
      data: {
        todos: [
          {
            text: "学习JavaScript"
          },
          {
            text: "学习Vue"
          },
          {
            text: "学习整个Vue"
          }
        ]
      }
    })
  </script>
</html>
